<template>
  <div class="nav-bar">
    <div class="left"><slot name="nav-left"></slot></div>
    <div class="center"><slot name="nav-center"></slot></div>
    <div class="right"><slot name="nav-right"></slot></div>
  </div>
</template>
<script>
export default {
  name:'navbar'
}
</script>
<style  scoped>
  .nav-bar{
    width: 100vw;
    height: 44px;
    line-height: 44px;
    display: flex;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    color: white;
    font-weight: bold;
    position: fixed;
    background-color: var(--color-high-text);
    top: 0px;
    left: 0;
    right: 0;
    z-index: 99;
  }
  .left{
    flex:1;
   
  }
  .center{
    flex:4;
   
  }
  .right{
    flex:1;
    
  }

</style>